package com.casstime.ec.cloud.meeting.dao.mapper;

import com.casstime.ec.cloud.meeting.dao.entity.EntityRoom;
import com.casstime.ec.cloud.meeting.dao.entity.example.EntityRoomExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface EntityRoomMapper {
    long countByExample(EntityRoomExample example);

    int deleteByExample(EntityRoomExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(EntityRoom record);

    int insertSelective(EntityRoom record);

    List<EntityRoom> selectByExample(EntityRoomExample example);

    EntityRoom selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") EntityRoom record, @Param("example") EntityRoomExample example);

    int updateByExample(@Param("record") EntityRoom record, @Param("example") EntityRoomExample example);

    int updateByPrimaryKeySelective(EntityRoom record);

    int updateByPrimaryKey(EntityRoom record);

    int batchInsert(@Param("list") List<EntityRoom> list);

    int batchInsertSelective(@Param("list") List<EntityRoom> list, @Param("selective") EntityRoom.Column... selective);

    int upsert(EntityRoom record);

    int upsertSelective(EntityRoom record);

    int deleteMeetingRoomByName(String roomName);


    List<EntityRoom> select();
}